﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using WebCareWeb.App_Code;
using System.Web.Mvc;

public partial class DayCalendar : System.Web.UI.UserControl
{
    DateTime _today = DateTime.Today;

    protected void Page_Load(object sender, EventArgs e)
    {
        ClsDrugCalendar c = new ClsDrugCalendar();
        this.drugCalList.DataSource = c.GetData();
        this.drugCalList.DataBind();

        this.lblDate.Text = _today.ToShortDateString();
    }
}